document.getElementById("nav_life").addEventListener("click",function () {
    if ($("#panel_life").is(':hidden')){
        $("#panel_life").show();
        $("#panel_study").hide();
        $("#panel_work").hide();
        $("#panel_other").hide();
    }else{
        $("#panel_life").hide();
    }
});
document.getElementById("nav_study").addEventListener("click",function () {
    if ($("#panel_study").is(':hidden')){
        $("#panel_life").hide();
        $("#panel_study").show();
        $("#panel_work").hide();
        $("#panel_other").hide();
    }else{
        $("#panel_study").hide();
    }
});
document.getElementById("nav_work").addEventListener("click",function () {
    if ($("#panel_work").is(':hidden')){
        $("#panel_life").hide();
        $("#panel_study").hide();
        $("#panel_work").show();
        $("#panel_other").hide();
    }else{
        $("#panel_work").hide();
    }
});
document.getElementById("nav_other").addEventListener("click",function () {
    if ($("#panel_other").is(':hidden')){
        $("#panel_life").hide();
        $("#panel_study").hide();
        $("#panel_work").hide();
        $("#panel_other").show();
    }else{
        $("#panel_other").hide();
    }
});